package com.fuhao.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.fuhao.dao.impl.TestDao;
import com.fuhao.entity.Person;
import com.fuhao.service.TestService;

@Service
@Transactional
public class TestServiceImpl implements TestService{

	@Autowired
	private TestDao testDao;


	public void save(Person person) {
		testDao.save(person);
	}


	@Override
	public void a() {
		testDao.test();
	}


}
